@import "../../style/public";

.nav-bar {
  display: flex;
  background: #fff;
  @include thin-border(false, false, bottom);

  li {
    @include remCalc(height, 88);
    @include remCalc(line-height, 88);
    flex: 1;
    text-align: center;
    position: relative;
    @include remCalc(font-size, 32);
    color: #333333;

    span {
      display: inline-block;
      @include remCalc(padding, 0, 42);
      position: relative;
    }

    // &:first-child {
    //     &::before {
    //         content: "";
    //         position: absolute;
    //         @include remCalc(top, 10);
    //         @include remCalc(height, 68);
    //         width: 1px;
    //         background: #ddd;
    //         right: 0;
    //     }
    // }

    &.active {
      color: $color-red;

      span {
        &::before {
          content: "";
          @include remCalc(height, 4);
          left: 0;
          bottom: 0;
          background: $color-red;
          position: absolute;
          width: 100%;
        }
      }
    }
  }
}

.todo-list {
  .text-overflow{
    @extend %text-overflow;
    @include remCalc(width, 500);
    display: inline-block;
  }
  .tab-container {
    .time{
        @include remCalc(font-size, 24);
        @include remCalc(padding, 30,0,10,0);
        color:#999;
        text-align: center;
        @include remCalc(margin-bottom, -20);
    }
    .item {
      @include remCalc(margin-top, 20);
      @include thin-border(true, false);
      @extend %box-sizing;
      background: #fff;

      .item-title {
        @include remCalc(padding, 0, 30);
        @extend .clearfix;
        @include remCalc(height, 72);
        @include thin-border(false, false, bottom);

        .left {
          @include remCalc(font-size, 32);
          @include remCalc(line-height, 36);
          @include remCalc(padding, 18, 0);
          color: #333333;
          float: left;
        }

        .right {
          color: #999999;
          @include remCalc(font-size, 24);
          @include remCalc(line-height, 36);
          @include remCalc(padding, 18, 0);
          float: right;
        }

        @include thin-border(false, false, bottom);
      }

      .item-content {
        ul {
          @include remCalc(padding, 8, 0);

          > li {
            @include remCalc(padding, 6, 30);
            display: flex;
            @include remCalc(font-size, 28);
            @include remCalc(line-height, 44);

            .left {
              color: #999;
              @include remCalc(font-size, 28);
              @include remCalc(padding-right, 20);
              @include remCalc(width, 190);
              @extend %box-sizing;
              display: inline-block;
            }

            .right {
              @include remCalc(font-size, 28);
              color: #333;
              flex: 1;
              text-align: right;
              display: inline-block;
              word-break: break-all;
              word-wrap: break-word;
            }
          }
        }
      }

      .item-option {
        @include remCalc(padding, 0, 30);
        @extend %box-sizing;
        color: #121f33;
        text-align: center;

        .option {
          @include remCalc(font-size, 32);
          @include remCalc(line-height, 34);
          @include remCalc(padding, 22, 0);
          @include thin-border(false, false, top);
        }
      }
    }
  }

  .no-more {
    text-align: center;
    color: #999;
    @include remCalc(font-size, 24);
    @include remCalc(padding, 30);
  }
}

.todo-Detail-OpenPay {
  .btn-flex {
    padding: 0;
    display: flex;

    .btn {
      flex: 1;
      border-radius: 0;
    }

    .btn-reject {
      background: #fff;
      color: #333;
    }

    .btn-pass {
      background: $color-red;
    }
  }

  .form-title-center {
    @include thin-border(false, false, top);
    color: #999;
    text-align: center;
    @include remCalc(font-size, 24);
    @include remCalc(padding, 30, 30, 10, 30);

    i {
      color: $color-red;
      vertical-align: middle;
      @include remCalc(margin, 3, 6, 0, 0);
    }

    label {
      vertical-align: middle;

      span {
        color: $color-red;
      }
    }
  }

  .shop-info {
    .link {
      color: $color-red;
    }

    color: #333;
    background: #fff;
    @include thin-border(false, false, bottom);
    @include remCalc(padding, 0, 30, 8);
    //@include remCalc(margin-bottom, 20);

    .shop-name {
      @include remCalc(font-size, 32);
      @include remCalc(line-height, 36);
      @include remCalc(padding, 20, 0, 20, 0);
      @extend %text-overflow;
    }

    > p {
      @include remCalc(font-size, 0);
      @include remCalc(line-height, 28);
      @include remCalc(margin-bottom, 12);
      display: flex;

      .left {
        @include remCalc(font-size, 24);
        color: #333;
        @include remCalc(padding-right, 10);
        @include remCalc(width, 160);
        @extend %box-sizing;
        display: inline-block;
      }

      .right {
        @include remCalc(font-size, 24);
        color: #333;
        flex: 1;
        text-align: left;
        display: inline-block;
        word-break: break-all;
        word-wrap: break-word;
      }
    }

    .shop-label {
      font-size: 0;
      @include remCalc(margin-bottom, 12);

      .label {
        color: $color-red;
        display: inline-block;
        @include remCalc(border-radius, 4);
        border: 1px solid $color-red;
        @include remCalc(margin-right, 20);
        @include remCalc(font-size, 24);
        @include remCalc(line-height, 26);
        @extend %box-sizing;
        @include remCalc(padding, 4, 8);

        &.blue {
          border: 1px solid $color-red;
          color: $color-red;
        }

        &.gray {
          color: #999;
          border: 1px solid #999;
        }

        &.red {
          color: #ee3a31;
          border: 1px solid #ee3a31;
        }
      }
    }
  }

  .detail-info {
    background: #fff;
    //@include remCalc(margin-bottom, 20);
    @include thin-border(false, false, bottom);

    .info-title {
      @include remCalc(padding, 0, 30);
      @extend .clearfix;
      @include remCalc(height, 72);
      @include thin-border(false, false, bottom);
      background: #f9f9f9;
      .left {
        @include remCalc(font-size, 24);
        @include remCalc(line-height, 30);
        @include remCalc(padding, 20, 0);
        color: #999;
        float: left;
      }

      .right {
        color: #999999;
        @include remCalc(font-size, 24);
        @include remCalc(line-height, 30);
        @include remCalc(padding, 20, 0);
        float: right;
      }

      @include thin-border(false, false, bottom);
    }

    .detail {
      @include remCalc(padding, 18, 0);

      li {
        .content {
          @include remCalc(padding, 6, 30);
          display: flex;
          @include remCalc(font-size, 0);
          @include remCalc(line-height, 44);

          .left {
            color: #999;
            @include remCalc(font-size, 32);
            @include remCalc(padding-right, 30);
            @include remCalc(width, 300);
            @extend %box-sizing;
            display: inline-block;
          }

          .right {
            @include remCalc(font-size, 32);
            color: #333;
            flex: 1;
            text-align: right;
            display: inline-block;
            word-break: break-all;
            word-wrap: break-word;
          }
        }

        .more-info {
          @include remCalc(font-size, 24);
          color: #666666;
          text-align: right;
          @include remCalc(padding, 0, 30, 10, 30);
        }

        .pic {
          @include remCalc(width, 330);
          @include remCalc(height, 206);
          @include remCalc(margin-left, 30);
        }

        .group-pic {
          @include remCalc(padding, 10, 30, 10, 0);
        }
      }
    }
  }
}

.reject-openPay {
  .check-group {
    @include thin-border(false, false, top);
    @include remCalc(margin-top, 20);
    background: #fff;
    @include remCalc(padding, 60, 30, 0);
    .checkbox {
      color: #333;
      text-align: left;
      @include remCalc(font-size, 32);
      @include remCalc(line-height, 34);
      @include remCalc(padding-bottom, 30);

      i {
        color: $color-red;
        @include remCalc(font-size, 24);
        @include remCalc(width, 24);
        display: inline-block;
        vertical-align: middle;
        @include remCalc(margin, 0, 6, 0, 0);
      }

      label {
        vertical-align: middle;

        span {
          color: $color-red;
        }
      }
    }
  }

  .other-reason {
    position: relative;
    @include remCalc(margin-top, 70);

    .reason-input {
      background: #f8f8f8;
      border: 1px solid #e8e8e8;
      width: 100%;
      @include remCalc(height, 220);
      @include remCalc(padding, 20);
      @extend %box-sizing;
      @include remCalc(font-size, 28);
      color: #333;
      @include remCalc(border-radius, 4);
    }

    .tip {
      position: absolute;
      @include remCalc(right, 20);
      @include remCalc(bottom, 20);
      @include remCalc(font-size, 24);
      color: #bbb;
    }
  }

  .btn-wrap {
    @include remCalc(margin-top, 40);
  }
}
.fxActivitySigning-details {
  .protocol-check-wrap {
    display: flex;
    flex-wrap: wrap;
    @include thin-border(false, false, top);
    color: #999;
    @include remCalc(font-size, 24);
    @include remCalc(padding, 30, 30, 20, 30);
    >div{
      white-space: nowrap;
    }
    i {
      color: $color-red;
      vertical-align: middle;
      @include remCalc(margin, 3, 6, 0, 0);
      position: relative;
      &::after {
        position: absolute;
        content: "";
        @include remCalc(left, -60);
        @include remCalc(right, -160);
        @include remCalc(bottom, -16);
        @include remCalc(top, -40);
      }
    }
    span {
      white-space: nowrap;
      color: $color-red;
    }
  }
  .top {
    background: #fff;
    @include remCalc(padding, 20, 30);
    .shop-name {
      @include remCalc(font-size, 32);
      color: #333;
    }
    .status {
      display: inline-block;
      @include remCalc(font-size, 24);
      @include remCalc(padding, 0, 10);
      @include remCalc(height, 36);
      @include remCalc(line-height, 36);
      @include remCalc(margin, 0, 0, 20, 0);
      color: #999;
      border: 1px solid #999999;
      border-radius: 4px;
      border-radius: 4px;
      &.blue{
        color:$color-red;
        border-color:$color-red;
      }
    }
    .top-ul {
      > li {
        display: flex;
        @include remCalc(padding, 6, 0);
        > span {
          @include remCalc(width, 148);
          @include remCalc(font-size, 24);
          color: #999;
        }
        > div {
          flex:1;
          @include remCalc(font-size, 24);
          color: #333;
        }
      }
    }
    .content-ul {
      li {
        @include remCalc(font-size, 24);
        color: #333;
        line-height: 1.5;
        word-break: break-all;
        word-wrap: break-word;
      }
    }
  }
  .link-section {
    background: #fff;
    @include thin-border(true, false, false);
    @include remCalc(font-size, 32);
    color: #333;
    @include remCalc(height, 88);
    @include remCalc(line-height, 88);
    @include remCalc(padding, 0, 30);
    display: flex;
    justify-content: space-between;
    align-items: center;
    > span {
    }
    > div {
      color: #ccc;
    }
  }
  .section-title {
    @include remCalc(padding, 0, 30);
    @include remCalc(height, 70);
    @include remCalc(line-height, 70);
    @include remCalc(font-size, 24);
    color: #999;
  }
  .bottom {
    background: #fff;
    @include thin-border(true, false, false);
    @include remCalc(padding, 10, 30);
    > li {
      @include remCalc(padding, 10, 0);
      display: flex;
      > span {
        @include remCalc(font-size, 32);
        //@include remCalc(max-width, 200);
        max-width:7em;
        color: #999;
        @include remCalc(padding-right, 40);

        .sub-text {
          @include remCalc(font-size, 24);
          width:22em;
          display: inline-block;
          //white-space: nowrap;
        }
      }
      > div {
        text-align: right;
        @include remCalc(font-size, 32);
        color: #333;
        flex: 1;
      }
    }
  }
  .tip-msg {
    @include remCalc(padding, 40, 30);
    @include remCalc(font-size, 24);
    color: #999;
  }
  .protocol-text {
    color: $color-red !important;
  }
  .btn-wrap {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 0;
    // box-shadow: 0 -2px 8px 0 #cccccc;
    @include thin-border(true, true);
    > div {
      flex: 1;
      @include remCalc(font-size, 36);
      @include remCalc(height, 88);
      @include remCalc(line-height, 88);

      text-align: center;
      & + div {
        background: #459dff;
        color: #fff;
        &::before {
          border-color: #459dff;
        }
        &::after {
          border-color: #459dff;
        }
      }
      background: #fff;
      color: #459dff;
    }
  }
}
